const chartsRouter = {
  path: '/charts',
  component: '',
  redirect: '/charts/keyboard',
  name: 'Charts',
  meta: {
    title: 'Charts',
    icon: 'chart'
  },
  children: [
    {
      path: '/charts/keyboard',
      component: '',
      name: 'KeyboardChart',
      redirect: '/charts/keyboard/keyboard2',
      meta: { title: 'Keyboard Chart', noCache: true },
      children: [
        {
          path: '/charts/keyboard/keyboard2',
          component: '',
          name: 'KeyboardChart2',
          meta: { title: 'Keyboard Chart2', noCache: true },
        }
      ]
    },
    {
      path: '/charts/line',
      component: '',
      name: 'LineChart',
      meta: { title: 'Line Chart', noCache: true },
    },
    {
      path: '/charts/mix-chart',
      component: '',
      name: 'MixChart',
      meta: { title: 'Mix Chart', noCache: true }
    }
  ]
}

export default chartsRouter
